<?xml version='1.0'?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://Ultima/content/Ultima.css" type="text/css"?>
<window title="Throne Values" style="direction:ltr;" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:html="http://www.w3.org/1999/xhtml">

<html:table width="500">

<html:tr><html:td> Province Name    </html:td><html:td><html:b id="YourThroneProvinceName"    ></html:b></html:td><html:td><html:b id="EnemyThroneProvinceName"    ></html:b></html:td></html:tr>
<html:tr><html:td> kingdom          </html:td><html:td><html:b id="YourThronekingdom"         ></html:b></html:td><html:td><html:b id="EnemyThronekingdom"         ></html:b></html:td></html:tr>
<html:tr><html:td> island           </html:td><html:td><html:b id="YourThroneisland"          ></html:b></html:td><html:td><html:b id="EnemyThroneisland"          ></html:b></html:td></html:tr>
<html:tr><html:td> Utopian Year     </html:td><html:td><html:b id="YourThroneUtopiaYear"      ></html:b></html:td><html:td><html:b id="EnemyThroneUtopiaYear"      ></html:b></html:td></html:tr>
<html:tr><html:td> Utopian Month    </html:td><html:td><html:b id="YourThroneUtopiaMonth"     ></html:b></html:td><html:td><html:b id="EnemyThroneUtopiaMonth"     ></html:b></html:td></html:tr>
<html:tr><html:td> Utopian Day      </html:td><html:td><html:b id="YourThroneUtopiaDay"       ></html:b></html:td><html:td><html:b id="EnemyThroneUtopiaDay"       ></html:b></html:td></html:tr>
<html:tr><html:td> Utopian Minute   </html:td><html:td><html:b id="YourThroneUtopiaMinute"    ></html:b></html:td><html:td><html:b id="EnemyThroneUtopiaMinute"    ></html:b></html:td></html:tr>
<html:tr><html:td> Race             </html:td><html:td><html:b id="YourThroneRace"            ></html:b></html:td><html:td><html:b id="EnemyThroneRace"            ></html:b></html:td></html:tr>
<html:tr><html:td> Gender           </html:td><html:td><html:b id="YourThroneGender"          ></html:b></html:td><html:td><html:b id="EnemyThroneGender"          ></html:b></html:td></html:tr>
<html:tr><html:td> Rank             </html:td><html:td><html:b id="YourThroneRank"            ></html:b></html:td><html:td><html:b id="EnemyThroneRank"            ></html:b></html:td></html:tr>
<html:tr><html:td> Personality      </html:td><html:td><html:b id="YourThronePersonality"     ></html:b></html:td><html:td><html:b id="EnemyThronePersonality"     ></html:b></html:td></html:tr>
<html:tr><html:td> Land             </html:td><html:td><html:b id="YourThroneLand"            ></html:b></html:td><html:td><html:b id="EnemyThroneLand"            ></html:b></html:td></html:tr>
<html:tr><html:td> Peasants         </html:td><html:td><html:b id="YourThronePeasants"        ></html:b></html:td><html:td><html:b id="EnemyThronePeasants"        ></html:b></html:td></html:tr>
<html:tr><html:td> BE               </html:td><html:td><html:b id="YourThroneBE"              ></html:b></html:td><html:td><html:b id="EnemyThroneBE"              ></html:b></html:td></html:tr>
<html:tr><html:td> Offensive Points </html:td><html:td><html:b id="YourThroneOffensivePoints" ></html:b></html:td><html:td><html:b id="EnemyThroneOffensivePoints" ></html:b></html:td></html:tr>
<html:tr><html:td> Defensive Points </html:td><html:td><html:b id="YourThroneDefensivePoints" ></html:b></html:td><html:td><html:b id="EnemyThroneDefensivePoints" ></html:b></html:td></html:tr>
<html:tr><html:td> Money            </html:td><html:td><html:b id="YourThroneMoney"           ></html:b></html:td><html:td><html:b id="EnemyThroneMoney"           ></html:b></html:td></html:tr>
<html:tr><html:td> Food             </html:td><html:td><html:b id="YourThroneFood"            ></html:b></html:td><html:td><html:b id="EnemyThroneFood"            ></html:b></html:td></html:tr>
<html:tr><html:td> Runes            </html:td><html:td><html:b id="YourThroneRunes"           ></html:b></html:td><html:td><html:b id="EnemyThroneRunes"           ></html:b></html:td></html:tr>
<html:tr><html:td> Soldiers         </html:td><html:td><html:b id="YourThroneSoldiers"        ></html:b></html:td><html:td><html:b id="EnemyThroneSoldiers"        ></html:b></html:td></html:tr>
<html:tr><html:td> Offensive Units  </html:td><html:td><html:b id="YourThroneOffensiveUnits"  ></html:b></html:td><html:td><html:b id="EnemyThroneOffensiveUnits"  ></html:b></html:td></html:tr>
<html:tr><html:td> Defensive Units  </html:td><html:td><html:b id="YourThroneDefensiveUnits"  ></html:b></html:td><html:td><html:b id="EnemyThroneDefensiveUnits"  ></html:b></html:td></html:tr>
<html:tr><html:td> Elite Units      </html:td><html:td><html:b id="YourThroneEliteUnits"      ></html:b></html:td><html:td><html:b id="EnemyThroneEliteUnits"      ></html:b></html:td></html:tr>
<html:tr><html:td> Thieves          </html:td><html:td><html:b id="YourThroneThieves"         ></html:b></html:td><html:td><html:b id="EnemyThroneThieves"         ></html:b></html:td></html:tr>
<html:tr><html:td> Stealth          </html:td><html:td><html:b id="YourThroneStealth"         ></html:b></html:td><html:td><html:b id="EnemyThroneStealth"         ></html:b></html:td></html:tr>
<html:tr><html:td> Wizards          </html:td><html:td><html:b id="YourThroneWizards"         ></html:b></html:td><html:td><html:b id="EnemyThroneWizards"         ></html:b></html:td></html:tr>
<html:tr><html:td> Mana             </html:td><html:td><html:b id="YourThroneMana"            ></html:b></html:td><html:td><html:b id="EnemyThroneMana"            ></html:b></html:td></html:tr>
<html:tr><html:td> Trade Balance    </html:td><html:td><html:b id="YourThroneTradeBalance"    ></html:b></html:td><html:td><html:b id="EnemyThroneTradeBalance"    ></html:b></html:td></html:tr>
<html:tr><html:td> War Horses       </html:td><html:td><html:b id="YourThroneWarHorses"       ></html:b></html:td><html:td><html:b id="EnemyThroneWarHorses"       ></html:b></html:td></html:tr>
<html:tr><html:td> Prisoners        </html:td><html:td><html:b id="YourThronePrisoners"       ></html:b></html:td><html:td><html:b id="EnemyThronePrisoners"       ></html:b></html:td></html:tr>
<html:tr><html:td> Networth         </html:td><html:td><html:b id="YourThroneNetworth"        ></html:b></html:td><html:td><html:b id="EnemyThroneNetworth"        ></html:b></html:td></html:tr>
<html:tr><html:td> Dragon           </html:td><html:td><html:b id="YourThroneDragon"          ></html:b></html:td><html:td><html:b id="EnemyThroneDragon"          ></html:b></html:td></html:tr>
<html:tr><html:td> Hit              </html:td><html:td><html:b id="YourThroneHit"             ></html:b></html:td><html:td><html:b id="EnemyThroneHit"             ></html:b></html:td></html:tr>
<html:tr><html:td> Plague           </html:td><html:td><html:b id="YourThronePlague"          ></html:b></html:td><html:td><html:b id="EnemyThronePlague"          ></html:b></html:td></html:tr>
<html:tr><html:td> War              </html:td><html:td><html:b id="YourThroneWar"             ></html:b></html:td><html:td><html:b id="EnemyThroneWar"             ></html:b></html:td></html:tr>
<html:tr><html:td> Over Pop         </html:td><html:td><html:b id="YourThroneOverPop"         ></html:b></html:td><html:td><html:b id="EnemyThroneOverPop"         ></html:b></html:td></html:tr>

</html:table>

<script>

var prefService = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefBranch); 

document.getElementById('YourThroneProvinceName'    ).innerHTML = prefService.getCharPref('extensions.Ultima.YourThroneProvinceName'   );
document.getElementById('YourThronekingdom'         ).innerHTML = prefService.getIntPref('extensions.Ultima.YourThronekingdom'         );
document.getElementById('YourThroneisland'          ).innerHTML = prefService.getIntPref('extensions.Ultima.YourThroneisland'          );
document.getElementById('YourThroneUtopiaYear'      ).innerHTML = prefService.getIntPref('extensions.Ultima.YourThroneUtopiaYear'      );
document.getElementById('YourThroneUtopiaMonth'     ).innerHTML = prefService.getIntPref('extensions.Ultima.YourThroneUtopiaMonth'     );
document.getElementById('YourThroneUtopiaDay'       ).innerHTML = prefService.getIntPref('extensions.Ultima.YourThroneUtopiaDay'       );
document.getElementById('YourThroneUtopiaMinute'    ).innerHTML = prefService.getIntPref('extensions.Ultima.YourThroneUtopiaMinute'    );
document.getElementById('YourThroneRace'            ).innerHTML = prefService.getIntPref('extensions.Ultima.YourThroneRace'            );
document.getElementById('YourThroneGender'          ).innerHTML = prefService.getIntPref('extensions.Ultima.YourThroneGender'          );
document.getElementById('YourThroneRank'            ).innerHTML = prefService.getIntPref('extensions.Ultima.YourThroneRank'            );
document.getElementById('YourThronePersonality'     ).innerHTML = prefService.getIntPref('extensions.Ultima.YourThronePersonality'     );
document.getElementById('YourThroneLand'            ).innerHTML = prefService.getIntPref('extensions.Ultima.YourThroneLand'            );
document.getElementById('YourThronePeasants'        ).innerHTML = prefService.getIntPref('extensions.Ultima.YourThronePeasants'        );
document.getElementById('YourThroneBE'              ).innerHTML = prefService.getIntPref('extensions.Ultima.YourThroneBE'              );
document.getElementById('YourThroneOffensivePoints' ).innerHTML = prefService.getIntPref('extensions.Ultima.YourThroneOffensivePoints' );
document.getElementById('YourThroneDefensivePoints' ).innerHTML = prefService.getIntPref('extensions.Ultima.YourThroneDefensivePoints' );
document.getElementById('YourThroneMoney'           ).innerHTML = prefService.getIntPref('extensions.Ultima.YourThroneMoney'           );
document.getElementById('YourThroneFood'            ).innerHTML = prefService.getIntPref('extensions.Ultima.YourThroneFood'            );
document.getElementById('YourThroneRunes'           ).innerHTML = prefService.getIntPref('extensions.Ultima.YourThroneRunes'           );
document.getElementById('YourThroneSoldiers'        ).innerHTML = prefService.getIntPref('extensions.Ultima.YourThroneSoldiers'        );
document.getElementById('YourThroneOffensiveUnits'  ).innerHTML = prefService.getIntPref('extensions.Ultima.YourThroneOffensiveUnits'  );
document.getElementById('YourThroneDefensiveUnits'  ).innerHTML = prefService.getIntPref('extensions.Ultima.YourThroneDefensiveUnits'  );
document.getElementById('YourThroneEliteUnits'      ).innerHTML = prefService.getIntPref('extensions.Ultima.YourThroneEliteUnits'      );
document.getElementById('YourThroneThieves'         ).innerHTML = prefService.getIntPref('extensions.Ultima.YourThroneThieves'         );
document.getElementById('YourThroneStealth'         ).innerHTML = prefService.getIntPref('extensions.Ultima.YourThroneStealth'         );
document.getElementById('YourThroneWizards'         ).innerHTML = prefService.getIntPref('extensions.Ultima.YourThroneWizards'         );
document.getElementById('YourThroneMana'            ).innerHTML = prefService.getIntPref('extensions.Ultima.YourThroneMana'            );
document.getElementById('YourThroneTradeBalance'    ).innerHTML = prefService.getIntPref('extensions.Ultima.YourThroneTradeBalance'    );
document.getElementById('YourThroneWarHorses'       ).innerHTML = prefService.getIntPref('extensions.Ultima.YourThroneWarHorses'       );
document.getElementById('YourThronePrisoners'       ).innerHTML = prefService.getIntPref('extensions.Ultima.YourThronePrisoners'       );
document.getElementById('YourThroneNetworth'        ).innerHTML = prefService.getIntPref('extensions.Ultima.YourThroneNetworth'        );
document.getElementById('YourThroneDragon'          ).innerHTML = prefService.getIntPref('extensions.Ultima.YourThroneDragon'          );
document.getElementById('YourThroneHit'             ).innerHTML = prefService.getIntPref('extensions.Ultima.YourThroneHit'             );
document.getElementById('YourThronePlague'          ).innerHTML = prefService.getIntPref('extensions.Ultima.YourThronePlague'          );
document.getElementById('YourThroneWar'             ).innerHTML = prefService.getIntPref('extensions.Ultima.YourThroneWar'             );
document.getElementById('YourThroneOverPop'         ).innerHTML = prefService.getIntPref('extensions.Ultima.YourThroneOverPop'         );

document.getElementById('EnemyThroneProvinceName'    ).innerHTML = prefService.getCharPref('extensions.Ultima.EnemyThroneProvinceName'   );
document.getElementById('EnemyThronekingdom'         ).innerHTML = prefService.getIntPref('extensions.Ultima.EnemyThronekingdom'         );
document.getElementById('EnemyThroneisland'          ).innerHTML = prefService.getIntPref('extensions.Ultima.EnemyThroneisland'          );
document.getElementById('EnemyThroneUtopiaYear'      ).innerHTML = prefService.getIntPref('extensions.Ultima.EnemyThroneUtopiaYear'      );
document.getElementById('EnemyThroneUtopiaMonth'     ).innerHTML = prefService.getIntPref('extensions.Ultima.EnemyThroneUtopiaMonth'     );
document.getElementById('EnemyThroneUtopiaDay'       ).innerHTML = prefService.getIntPref('extensions.Ultima.EnemyThroneUtopiaDay'       );
document.getElementById('EnemyThroneUtopiaMinute'    ).innerHTML = prefService.getIntPref('extensions.Ultima.EnemyThroneUtopiaMinute'    );
document.getElementById('EnemyThroneRace'            ).innerHTML = prefService.getIntPref('extensions.Ultima.EnemyThroneRace'            );
document.getElementById('EnemyThroneGender'          ).innerHTML = prefService.getIntPref('extensions.Ultima.EnemyThroneGender'          );
document.getElementById('EnemyThroneRank'            ).innerHTML = prefService.getIntPref('extensions.Ultima.EnemyThroneRank'            );
document.getElementById('EnemyThronePersonality'     ).innerHTML = prefService.getIntPref('extensions.Ultima.EnemyThronePersonality'     );
document.getElementById('EnemyThroneLand'            ).innerHTML = prefService.getIntPref('extensions.Ultima.EnemyThroneLand'            );
document.getElementById('EnemyThronePeasants'        ).innerHTML = prefService.getIntPref('extensions.Ultima.EnemyThronePeasants'        );
document.getElementById('EnemyThroneBE'              ).innerHTML = prefService.getIntPref('extensions.Ultima.EnemyThroneBE'              );
document.getElementById('EnemyThroneOffensivePoints' ).innerHTML = prefService.getIntPref('extensions.Ultima.EnemyThroneOffensivePoints' );
document.getElementById('EnemyThroneDefensivePoints' ).innerHTML = prefService.getIntPref('extensions.Ultima.EnemyThroneDefensivePoints' );
document.getElementById('EnemyThroneMoney'           ).innerHTML = prefService.getIntPref('extensions.Ultima.EnemyThroneMoney'           );
document.getElementById('EnemyThroneFood'            ).innerHTML = prefService.getIntPref('extensions.Ultima.EnemyThroneFood'            );
document.getElementById('EnemyThroneRunes'           ).innerHTML = prefService.getIntPref('extensions.Ultima.EnemyThroneRunes'           );
document.getElementById('EnemyThroneSoldiers'        ).innerHTML = prefService.getIntPref('extensions.Ultima.EnemyThroneSoldiers'        );
document.getElementById('EnemyThroneOffensiveUnits'  ).innerHTML = prefService.getIntPref('extensions.Ultima.EnemyThroneOffensiveUnits'  );
document.getElementById('EnemyThroneDefensiveUnits'  ).innerHTML = prefService.getIntPref('extensions.Ultima.EnemyThroneDefensiveUnits'  );
document.getElementById('EnemyThroneEliteUnits'      ).innerHTML = prefService.getIntPref('extensions.Ultima.EnemyThroneEliteUnits'      );
document.getElementById('EnemyThroneThieves'         ).innerHTML = "Unknown"; //prefService.getIntPref('extensions.Ultima.EnemyThroneThieves'         );
document.getElementById('EnemyThroneStealth'         ).innerHTML = "Unknown"; //prefService.getIntPref('extensions.Ultima.EnemyThroneStealth'         );
document.getElementById('EnemyThroneWizards'         ).innerHTML = "Unknown"; //prefService.getIntPref('extensions.Ultima.EnemyThroneWizards'         );
document.getElementById('EnemyThroneMana'            ).innerHTML = "Unknown"; //prefService.getIntPref('extensions.Ultima.EnemyThroneMana'            );
document.getElementById('EnemyThroneTradeBalance'    ).innerHTML = prefService.getIntPref('extensions.Ultima.EnemyThroneTradeBalance'    );
document.getElementById('EnemyThroneWarHorses'       ).innerHTML = prefService.getIntPref('extensions.Ultima.EnemyThroneWarHorses'       );
document.getElementById('EnemyThronePrisoners'       ).innerHTML = prefService.getIntPref('extensions.Ultima.EnemyThronePrisoners'       );
document.getElementById('EnemyThroneNetworth'        ).innerHTML = prefService.getIntPref('extensions.Ultima.EnemyThroneNetworth'        );
document.getElementById('EnemyThroneDragon'          ).innerHTML = prefService.getIntPref('extensions.Ultima.EnemyThroneDragon'          );
document.getElementById('EnemyThroneHit'             ).innerHTML = prefService.getIntPref('extensions.Ultima.EnemyThroneHit'             );
document.getElementById('EnemyThronePlague'          ).innerHTML = prefService.getIntPref('extensions.Ultima.EnemyThronePlague'          );
document.getElementById('EnemyThroneWar'             ).innerHTML = prefService.getIntPref('extensions.Ultima.EnemyThroneWar'             );
document.getElementById('EnemyThroneOverPop'         ).innerHTML = prefService.getIntPref('extensions.Ultima.EnemyThroneOverPop'         );

</script>

</window>